home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
ACCOTING
/
BILLPWR.LZH
/
INSTALL.BAT
< prev
Wrap
DOS Batch File
|
1990-05-22
|
2KB
|
63 lines
echo off
cls
if %2x==x goto NODRIVE
echo All disk drive designations must end with colons. For instance, drive C
echo is designated as "C:", not "C".
echo .
echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
pause
echo off
cls
%2
cd\
md MANAGEX
cd\MANAGEX
cls
echo Copying files...
copy %1*.*
cls
echo just a minute...
if exist billpowr.exe erase billpowr.exe
if exist billpowr.ovr erase billpowr.ovr
if exist billpwr.ovr erase billpwr.ovr
if exist billpowr.doc erase billpowr.doc
if exist bpstretc.exe erase bpstretc.exe
if exist bp-fix.exe erase bp-fix.exe
if exist edit.exe erase edit.exe
if exist printdoc.bat erase printdoc.bat
if not exist m--cases.lbf goto EXTRACT
echo VERY IMPORTANT
echo .
echo .
echo Now, some program files will be extracted from an archive. Before each
echo file is extracted, a check will be made to see whether a similarly named
echo one already exists on your hard disk. If so, you'll be asked whether you
echo wish to overwrite it with a new copy.
echo .
echo ALWAYS ANSWER "NO" BY PRESSSING THE "N" KEY.
echo .
echo .
pause
:EXTRACT
cls
billpwr
erase billpwr.exe
cls
echo Now, turn your printer OFF and then ON. Make sure that it is ready to
echo print and that you have loaded at least 90 sheets of paper. Then, align
echo the print head 1/2" below the top of the first sheet.
echo .
pause
cls
echo Printing documentation...
type BILLPOWR.DOC >prn
BP
:NODRIVE
cls
echo .
echo You must designate BOTH the SOURCE diskette and the HARD disk
echo .
echo example: A:INSTALL A: D: will install BillPower from drive A to drive D:
echo .
echo PLEASE TRY AGAIN